
<!-- 轮播 -->
<div class="slider_div">
	<div id="slideBox" class="slideBox">

	<div class="hd">
		<ul>
		<?php
			$back="";
			foreach ($pic_data as $key => $value) {
				$back.='<li>'.($key+1).'</li>';
			}
			echo $back;
		?>
		</ul>
	</div>
	<div class="bd">
		<ul>
			<?php
				$back="";
				foreach ($pic_data as $value) {
					$back.='<li><a href="'.$value['url'].'" target="_blank"><img src="'.$value['img'].'" /></a></li>';
				}
				echo $back;
			?>

		</ul>
	</div>

	<!-- 下面是前/后按钮代码，如果不需要删除即可 -->
	<a class="prev" href="javascript:void(0)"></a>
	<a class="next" href="javascript:void(0)"></a>
	</div>
</div>
<script id="jsID" type="text/javascript">
	//参数：
	//滑动效果 effect：fade,fold,left,top,leftLoop,topLoop
	//自动运行 autoPlay:true,false
	//触发方式 trigger:mouseover,click
	//缓动效果 easing:swing,easeOutCirc,easeInQuint,easeInBack,easeOutBounce,easeOutElastic
	//效果速度 delayTime:毫秒
	//停止播放 mouseOverStop:true,false
	//前后按钮循环 pnLoop:true,false
	jQuery(".slideBox").slide( { mainCell:".bd ul", effect:"leftLoop",autoPlay:true,trigger:"mouseover",easing:"swing",delayTime:1000,pnLoop:true });
</script>
<!-- 轮播 -->